//成绩单管理
import request from "@/utils/request.js"


//获取成绩列表
export function getScoreListApi(params) {
    return request({
      url: '/examination/reportCard/list',
      method: 'POST',
      params
    })
  }
// 学院管理左侧导航树

export function colleageTreeDataApi() { 
  return request({
      url: '/examination/colleage/colleageTreeData',
      method: 'POST' 
  })
}

// 导入
export function ImportExaminationRoomApi(data) {
  return request({ 
    ContentType: 'multipart/form-data',
    url: "/examination/importData",
    method: 'POST', 
    params:data
  })
}

// 导出
export function exportStudentApi(params) {
  return request({
    url: '/examination/studentAchievementManage/export',
    method: 'POST',
    responseType: 'blob',
    params
  })
}

// 添加
export function addStudentApi(data) {
  return request({
    url: '/examination/studentAchievementManage/add',
    method: 'POST',
    params: data
  })
}
